﻿Array.prototype.Where = function Where(predicate)
{
	var res = new Array();
	for (var i = 0; i < this.length; ++i)
	{
		if (predicate(this[i]))
			res.push(this[i]);
	}
	return res;
}
